package oop;

public class TestMain {
    public static void main(String[] args) {

        Student stu = new Student();

        Student stu1 = new Student("张三","101011");

        Student stu2 = new Student("李四","10111","计算机",90);


        //调用类的构造方法
        System.out.println("----调用oop文件下的Student类的学习和考试的行为方法----------");
        System.out.println();
        stu.doStuding();
        System.out.println();
        stu1.doStuding();
        System.out.println();
        stu2.doStuding();
        System.out.println();
        stu.doExaming();
        System.out.println();
        stu1.doExaming();
        System.out.println();
        stu2.doExaming();
    }
}
